import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import User from "../components/User";
import Emp from "../components/Emp";
import Emp2 from "../components/Emp2";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/user',
      name: 'User',
      component: User
    },{
      path: '/emp',
      name: 'Emp',
      component: Emp
    },{
      path: '/emp2',
      name: 'Emp2',
      component: Emp2
    }
  ]
})
